﻿#!/usr/bin/env python3

from  struct import *

def main():
    '''
struct -
按照格式打包和解包二进制数据. 具体格式规定见help doc
    '''
    print(main.__doc__)
    p = pack("<si", b'a', 1)
    print(p)
    u = unpack("<si", p)
    print(u)
    




if __name__=='__main__':
    main()


